package org.uoss.applications.framework.service;

import javax.annotation.Resource;

import org.uoss.applications.framework.dao.IGeneralObjectDAO;
import org.uoss.applications.framework.entity.GeneralObject;

public abstract class GeneralService<T extends GeneralObject>  {

	@Resource
	private IGeneralObjectDAO<T> generalObjectDAO;

	public void setGeneralObjectDAO(IGeneralObjectDAO<T> generalObjectDAO) {
		this.generalObjectDAO = generalObjectDAO;
	}

	public IGeneralObjectDAO<T> getGeneralObjectDAO() {
		return generalObjectDAO;
	}
}
